package net.roobook.server.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.roobook.common.entity.system.SysUser;
import org.apache.ibatis.annotations.Param;
/**
 * 用户Dao
 * @Author Roobook
 * @date 2022/4/11
 * @param
 * @return
 */
public interface UserMapper extends BaseMapper<SysUser> {

    /**
     * 查找用户详细信息
     *
     * @param page 分页对象
     * @param user 用户对象，用于传递查询条件
     * @return Ipage
     */
    IPage<SysUser> findUserDetailPage(Page page, @Param("user") SysUser user);
}